package io.xxx.walle.room;

import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Collection;
import java.util.List;

public interface RoomRepository extends JpaRepository<Room, Long> {

    List<Room> findAllByRoomGroup(RoomGroup roomGroup);

    List<Room> findAllByRoomGroupNotIn(List<RoomGroup> roomGroups);

    List<Room> findAllByIdNotIn(Collection<Long> roomIds);
}
